package com.pojo;

public class Boss {
	private String name;
	private String company;
	private Car ownCar;
	private String habit;
	
	public Boss(String name, String company, Car ownCar, String habit) {
		super();
		this.name = name;
		this.company = company;
		this.ownCar = ownCar;
		this.habit = habit;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	
	public Car getOwnCar() {
		return ownCar;
	}
	public void setOwnCar(Car ownCar) {
		this.ownCar = ownCar;
	}
	public String getHabit() {
		return habit;
	}
	public void setHabit(String habit) {
		this.habit = habit;
	}
	@Override
	public String toString() {
		return "Boss [name=" + name + ", company=" + company + ", ownCar=" + ownCar + ", habit=" + habit + "]";
	}
	


}
